Optimal. Leaf size=73 \[ c^2 \left (-2^{-p}\right ) e^{\frac{2 a}{b}} \left (a+b \log \left (c \sqrt{x}\right )\right )^p \left (\frac{a+b \log \left (c \sqrt{x}\right )}{b}\right )^{-p} \text{Gamma}\left (p+1,\frac{2 \left (a+b \log \left (c \sqrt{x}\right )\right )}{b}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0521968, antiderivative size = 73, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.111, Rules used = {2310, 2181} \[ c^2 \left (-2^{-p}\right ) e^{\frac{2 a}{b}} \left (a+b \log \left (c \sqrt{x}\right )\right )^p \left (\frac{a+b \log \left (c \sqrt{x}\right )}{b}\right )^{-p} \text{Gamma}\left (p+1,\frac{2 \left (a+b \log \left (c \sqrt{x}\right )\right )}{b}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2310
Rule 2181
Rubi steps
\begin{align*} \int \frac{\left (a+b \log \left (c \sqrt{x}\right )\right )^p}{x^2} \, dx &=\left (2 c^2\right ) \operatorname{Subst}\left (\int e^{-2 x} (a+b x)^p \, dx,x,\log \left (c \sqrt{x}\right )\right )\\ &=-2^{-p} c^2 e^{\frac{2 a}{b}} \Gamma \left (1+p,\frac{2 \left (a+b \log \left (c \sqrt{x}\right )\right )}{b}\right ) \left (a+b \log \left (c \sqrt{x}\right )\right )^p \left (\frac{a+b \log \left (c \sqrt{x}\right )}{b}\right )^{-p}\\ \end{align*}
Mathematica [A] time = 0.0481133, size = 73, normalized size = 1. \[ c^2 \left (-2^{-p}\right ) e^{\frac{2 a}{b}} \left (a+b \log \left (c \sqrt{x}\right )\right )^p \left (\frac{a+b \log \left (c \sqrt{x}\right )}{b}\right )^{-p} \text{Gamma}\left (p+1,\frac{2 \left (a+b \log \left (c \sqrt{x}\right )\right )}{b}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.046, size = 0, normalized size = 0. \begin{align*} \int{\frac{1}{{x}^{2}} \left ( a+b\ln \left ( c\sqrt{x} \right ) \right ) ^{p}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.35093, size = 65, normalized size = 0.89 \begin{align*} -\frac{2 \,{\left (b \log \left (c \sqrt{x}\right ) + a\right )}^{p + 1} c^{2} e^{\left (\frac{2 \, a}{b}\right )} E_{-p}\left (\frac{2 \,{\left (b \log \left (c \sqrt{x}\right ) + a\right )}}{b}\right )}{b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{{\left (b \log \left (c \sqrt{x}\right ) + a\right )}^{p}}{x^{2}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (a + b \log{\left (c \sqrt{x} \right )}\right )^{p}}{x^{2}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b \log \left (c \sqrt{x}\right ) + a\right )}^{p}}{x^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]